using System;
namespace MicroMsg.Storage
{
	public class CmdFlowStorage
	{
		private static string getFilePath(int int_0)
		{
			return string.Concat(new object[]
			{
				StorageIO.getRooDir(),
				"/cmd_flow",
				int_0,
				".xml"
			});
		}
		public static void save(CmdFlow cmdFlow, int int_0)
		{
			if (cmdFlow == null)
			{
				return;
			}
			StorageXml.saveToFile<CmdFlow>(cmdFlow, CmdFlowStorage.getFilePath(int_0));
		}
		public static CmdFlow load(int int_0)
		{
			return StorageXml.loadFromFile<CmdFlow>(CmdFlowStorage.getFilePath(int_0));
		}
	}
}
